<template>
  <div class="box">
    <div class="perGh code">
      <div class="left">
        <h1>56</h1>
        <h2>今日挂号人数</h2>
        <h3>较昨日上涨20%↑</h3>
      </div>
      <div class="right">
        <span class="el-icon-notebook-2"></span>
      </div>
    </div>
    <div class="perJz code">
      <div class="left">
        <h1>70</h1>
        <h2>今日接诊人数</h2>
        <h3>较昨日上涨20%↑</h3>
      </div>
      <div class="right">
        <span class="el-icon-user-solid"></span>
      </div>
    </div>
    <div class="perSrhj code">
      <div class="left">
        <h1>4800</h1>
        <h2>进入收入合计</h2>
        <h3>较昨日上涨20%↑</h3>
      </div>
      <div class="right">
        <span class="el-icon-s-finance"></span>
      </div>
    </div>
    <div class="perXzhy code">
      <div class="left">
        <h1>20</h1>
        <h2>新增会员数</h2>
        <h3>较昨日上涨20%↑</h3>
      </div>
      <div class="right">
        <span class="el-icon-first-aid-kit"></span>
      </div>
    </div>
  </div>
</template>

<script>
export default {};
</script>

<style lang="less" scoped>
.box {
  width: 100%;
  height: 200px;
  display: flex;
  justify-content: space-around;
  .code {
    height: 180px;
    width: 23%;
    border-radius: 10px;
    display: flex;
    justify-content: space-between;
    color: #ffffff;
    padding: 25px 50px;
    box-sizing: border-box;
    align-items: center;
    font-family: "Arial,sans-serif";
  }
  .perGh {
    background: #42acf9;
    .left {
      h1 {
        font-weight: 800;
        font-size: 50px;
        margin-bottom: 22px;
      }
      h2 {
        font-size: 20px;
        margin-bottom: 22px;
      }
      h3 {
        font-size: 14px;
      }
    }
    .right {
      .el-icon-notebook-2 {
        font-size: 50px;
        display: block;
        width: 80px;
        height: 80px;
        border-radius: 99%;
        color: #42acf9;
        background: #ffffff;
        text-align: center;
        line-height: 80px;
        font-weight: 800;
      }
    }
  }
  .perJz {
    background: #34d6a7;
    .left {
      h1 {
        font-weight: 800;
        font-size: 50px;
        margin-bottom: 22px;
      }
      h2 {
        font-size: 20px;
        margin-bottom: 22px;
      }
      h3 {
        font-size: 14px;
      }
    }
    .right {
      .el-icon-user-solid {
        font-size: 50px;
        display: block;
        width: 80px;
        height: 80px;
        border-radius: 99%;
        color: #34d6a7;
        background: #ffffff;
        text-align: center;
        line-height: 80px;
        font-weight: 800;
      }
    }
  }
  .perSrhj {
    background: #3a71fc;
    .left {
      h1 {
        font-weight: 800;
        font-size: 50px;
        margin-bottom: 22px;
      }
      h2 {
        font-size: 20px;
        margin-bottom: 22px;
      }
      h3 {
        font-size: 14px;
      }
    }
    .right {
      .el-icon-s-finance {
        font-size: 50px;
        display: block;
        width: 80px;
        height: 80px;
        border-radius: 99%;
        color: #3a71fc;
        background: #ffffff;
        text-align: center;
        line-height: 80px;
        font-weight: 800;
      }
    }
  }
  .perXzhy {
    background: #8b45ee;
    .left {
      h1 {
        font-weight: 800;
        font-size: 50px;
        margin-bottom: 22px;
      }
      h2 {
        font-size: 20px;
        margin-bottom: 22px;
      }
      h3 {
        font-size: 14px;
      }
    }
    .right {
      .el-icon-first-aid-kit {
        font-size: 50px;
        display: block;
        width: 80px;
        height: 80px;
        border-radius: 99%;
        color: #8b45ee;
        background: #ffffff;
        text-align: center;
        line-height: 80px;
        font-weight: 800;
      }
    }
  }
}
</style>